package day4.am;
public class TestOperation3{
    public static void main(String[] args){
        System.out.println(5 / 2);          // 向下取整 2
        System.out.println(5 / 2.0);        // 实际    2.5
        System.out.println(5.0 / 2);        // 实际    2.5
        System.out.println(5.0 / 2.0);      // 实际    2.5
        System.out.println(5 / 0.0);        // Infinity  无穷大
    }
}